package com.example.lab.service;

import com.example.lab.entity.SafetyChecks;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.lab.entity.dto.SafetyCheckDTO;
import com.example.lab.result.PageResult;

import java.time.LocalDate;

/**
 * <p>
 * 实验室安全检查记录表 服务类
 * </p>
 *
 * @author 布莱恩
 * @since 2025-06-17
 */
public interface ISafetyChecksService extends IService<SafetyChecks> {

    PageResult<SafetyCheckDTO> getSafetyChecks(
            Integer semesterId,
            Integer labId,
            String status,
            LocalDate startDate,
            LocalDate endDate,
            Integer page,
            Integer limit);

    boolean createSafetyCheck(SafetyChecks safetyCheck);

    boolean reportSafetyCheck(Integer checkId);

    boolean processSafetyCheck(Integer checkId, String processDescription);

}
